﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ReferenceSwap.Utility
{
    public partial class ProjectReferenceControl : UserControl
    {
        private ProjectReference reference;
        public ProjectReference Reference
        {
            get { return reference; }
        }

        public bool Swap
        {
            get { return chkSwapReference.Checked; }
            set { chkSwapReference.Checked = value; }
        }

        public ProjectReferenceControl(ProjectReference reference)
        {
            InitializeComponent();
            this.reference = reference;

            lblName.Text = reference.Name;
        }
    }
}
